Added a slight performance improvement.