Remove the SignedType class and other dead code. Improve comments.