Some fixes for defining methods with keyword args.