deprecates resetAllAttrs and resetLocalAttrs in favor of the new API

review @retronym