Increased visibility of createInstance method to public for PHP 5.3 support