Added basic registration.