Fixed the model-hook call and added a hook to the factory in order to allow not only the object but also the
collection to hook into the options (in that case, it needs to be a lambda in the collection).