Tried and failed to add deviceRegistration method... :(