Improves readability of compiler errors.
Gets rid of a bit of duplication while remaining compatible with the current interfaces in place.