Add .class to extension