- Declare/define to syntax/rule, usually with [function].
- Removed metadata tags.
- Fixed formatting on latex tags.
- List{K} => KList
- Added missing requires.
- KResult to K in a few places ("only allowed in the left hand side of
  syntax").
- Moved requires and imports to the top.
- Various other things.