If null is passed then only the mimetype is used for generating the list of supported viewers, if NULL is passed for both $mimetype and $model then all viewers are listed.