Implements Adapter for category handling