Forgot to add check to see if class has been registered already.