Started functionality for writing objects