Refactoring dynamic methods, command building facilities, organize private methods and ordering