Implemented "create" versions of API objects, with validation.