Added orm dql extensions