Makes code compatible with PHP 5.3+; fixes docs