Add exists() method to active record files