Made NestoriaQuery an ActiveModel.