Virtual field support.

Hi, I have made simple modifications to support virtual fields and to prevent unwanted changes of a route name when resaving a model.