Remove ConsoleDefinition#getType() and #getEncoding()