Fixed issue with overwrite if __setattr__ in tools decorator