Inherit parent scope if not explicitly set.