Started adding methods for input handling.