Added registration through api.