Access method map in PHP 5.2-compatible way