Update UnusedImportsCheck to correctly detect classes in parameters and inline tags nested within block tags.