Simple utility classes for PHP 5.3+