Fixed private method declarations for state.rb