Add 'state' property in public header file.