Added insert category support.