Renamed cleanup_ip_addresses in the cleanup method to match addresses instead of ip_addressses.
.