Minor change

Class name is now passed as first argument of declareClass