Add classmethod decorator to _get_addresses

This method is intended to be used as a classmethod and
was missed out in the active record migration