Removed Closure type hint for php 5.3 compatibility