Added the ability to filter models by type.