Fixing class name, adding filter to deprecation warning message and fixing generate document