Add getInt and putInt