Removed useless anonymous function