Fix the last deprecation notices on class names for PHP 7+ (#26)