Registering instance