Removed redundant NULL replacement.