This apparently sometimes returns None, which is weird.