Add getBoolean and putBoolean functions