Formatting and stripping useless stuff.