Added automatic method generator for consoleMethods, automatic flag togglers, compliance with the format string.