Adds declaration for a field that was dynamically declared in constructor.