Adding deprecation assertions for proper_table_name.

This prevents deprecation warnings from popping up.