Implement input groups.