Added WRITE_NEVER constant and some doc blocks