added simpleContext support to CompexType