Added categories API.