Change APIs to return errors