Add sol.input functions (fix #175).