Added status and code information to return value.