added criteria "with" support for auto populating relations