move type info into doc strings, since lkcl complains that he can't read type annotat...