Fixed calling the private method in closure for php 5.3.