Corrected object type class name regex.

Formatting clean up.