Suppress deprecated warnings