cats: added main extend support