Cleans up core docs.