Added getStatus API.