Accept more types of input.