added get etypeById and other