add support for derived models