Added liftR to functions as a workaround for Scala's poor type inference