Improve requirements resolution.
Add comment to requirements resolution failures.
Add basic template support.