Add getter/setters on instance pathname variable