Adding Criteria class to the autoloader.