Use Applicative to clean stuff up a little.