Mark getState, setState and removeState as private