Renamed 'constructor' to 'targetConstructor' in the context