Removes System.out.println call in favor of always logging at debug level
Fixes problem parsing models with methods and adds a test.