Improved the usability of the create_component utility.