Context support in constructor