changed some generated methods to be compiled instead of using lambdas
compile field getters and setters in model classes, instead of passing procs