Change secure type from Boolean to boolean.