Added enum for crud method codes