API.Parts: Simplify category method.