Fix word getters from block_t.
Get rid of mod function, as the updated spec deals only with unsigned numbers.