Method get_category was added into API.