Added dynamic method to specify that a class has a polymorphic proxy model
Small change to make a spec pass
Added some tests and tidied up some names