Added class member registration.