Use command name method instead of hardcoded string.