Surpress @deprecation warnings as we need to implement the interface