Adds the declaration for the property that was dynamically declared in constructor.