Added context class for storing information about specific program contexts.