moved kwargs to args on register-generator decorator