Define ContextObject class/instance