Fix redeclare class