reorganized common context interfaces