Added rst support for the most part