Update model.class.php

Adding exclude option