Wrapped inside of a check to see if class exists.