Inferring from context declarations