allow types to be used as methods in less, edit
Merge pull request #5888 from simonbyrne/typeless

allow types to be used as methods in less, edit