Use try to remove hard dependency.