Fix typo in get_accessor