Avoid reset_<attribute>! deprecation notice