Changed array callable to call_user_func style for PHP 5.3 support. (fixes #40)