Fixed decltype throwing on lack of this scope.