Add directive to suppress deprecated warnings