Check for illegal arguments and rename methods