finish API for cgClass Ajax beta