add destroy() for Components to fix bug #52