Change state parts to public for use by widget provider