Cleaning up specification documents