Unfuck sync/write step. Remove bools in favor of enums