@SuppressWarnings("unchecked")
Class<Model> cType = (Class<Model>)Play.classloader.loadClass(type);
final Map<String, String[]> resolvedFields = resolveDependencies(cType, fields, idCache);
RootParamNode rootParamNode = ParamNode.convert(resolvedFields);
// This is kind of hacky. This basically says that if we have an embedded class we should ignore it.
if (Model.class.isAssignableFrom(cType)) {
Model model = (Model) Binder.bind(rootParamNode, "object", cType, cType, annotations);
for(Field f : model.getClass().getFields()) {