Removed annoying deprecation warning.