Fix flyweight link on State.
Fix typo in Singleton. #1