Suppress warning about deprecated constructor

It's used for backward compatibility