DEP for ORM expressions API changes

Initial work on DEP for ORM expressions API.
Missing space in `theinternal`.