Remove caching, just export single function.

Please leave caching to the consumer of the function. The caching is "surprising" behaviour, and having to opt out of it via random function argument is not intuitive (IMO).

Also changed the export to just be single function instead of object with a single property which is a function. KISS