Ensure that `attribute` doesn't define methods to override existing ones