Currying getMessages callback correctly