Removed state type definition for more clarity