Added separate 'prettify' and 'minify' methods.