Added console interface.