Cleaning up dox