Set property in ctor for input writer.