Removed unneeded null argument check.