Hiding deprecation warnings