Create object definition