[Autoreload in dev mode] Allow specifying classes that shouldn't be reloaded