we could probably do
`extension.types.find{|t| t.name == type_name}`