Fixed warning where deprecated header was included