Fixed a bug where the documentation data got corrupted by mapcan