Move common classes outside.