This will allow lazy access to the state in the next commit. Signed-off-by: Alexander Mikhaylenko <alexm@gnome.org>