Currently some higher-order functions that return a function have force unwraps in them. Need to figure out a safe alternative for these instances.