deprecates passing non db rows to constructors