Added BaseState.init()