Suppress notice and deprecated warnings