Update logic functions to use typedefs
Clean up redfind types