Add ability to automatically resolve resource models