Removing annoying deprecation warning.