State loading functions added.
n