Add parsing of trait/impl functions.