Fix a timeout raising an exception

Also store documentation as text properties so retrieval is O(1)