Added database registration.