Added improved and reusable documentation.