Add methods for access from a state