fix relationship spelling mistake
remove typeval from extension model

Makes tests fail, and not used anywhere