Custom code inspection scope.
Fixed some warnings.