Use define method instead of class_eval

Changed the dynamic method in scema_statements from a class_eval to use define_method to make it easier to read.