Expand docstring for check_compatibility