Fixing warning reading class constants [ci skip]