Added ParseClass method.