Input method implemented.