Fixed command registration.