Use class AyaxType instead of string for Ayax types