profile object (work in progress - no tests yet), and new writeMask command.