Removed analyser warnings.