We should just annotate the method's return type correctly, so that this isn't necessary.