function doc and type meta info added