Fix trailing slash in models as in #4