Replace ready state with loading/ready/error enum