Updated readme with the new register function.