Adds `number` field to Document

Some whitespace clobbering in there due to my editor disliking it. Happy to revert if desired.