a whole lot of misc type changes

Signed-off-by: Chris Jones <chris@jonezy.org>