Cleanup component behavior.