Use primitive type for getter and setter