User can specify allowed methods on ApiEntities

Issue #3.