Allow user input to be pass by reference.

Signed-off-by: crynobone <crynobone@gmail.com>