Added a filter hook for filtering the model ahead of render