GetClass doesn't need to be defined twice