Fixed an issue with model parsing

Documentation says the model class block is used iff the parent does not provide a class but the parents response was not being checked.

Added a check to only consult the model block if the parent returned `nil`