Update docs. Allow name of required attribute to be different from the param name.