Add support for setting properties after creation to ComponentStubGenerator.