Formatting fix
Adding deprecation warnings