Removed not needed global reference.