updated: Add methods to ETContext instead of using gloable methods.