add support for parsing .decorator function