Proper encapsulation of input.