Fixing scoping of implicits.