Attribute decoration for new func.