Changed grad register options to either register or unregister.