Change getCanonicalName to getName in models

No match.