Add default values for .method and .shorthand fields of Property nodes.