Added option to hide op declarations and fixed write_schema/2.