Added correct styles and added some TOC support.