@classmethod
def parse_service_table(cls, tablename):
    """Given tablename returns (service, name)."""
    pieces = tablename.split(':')
    if len(pieces) == 1:
        table = pieces[0]
        service = None
    else:
        service = pieces[0]
        table = ':'.join(pieces[1:])
    return service, table
