Updated to remove deprecation warning