Some helper functions for redigo