Make sure definition is set in create