Pulling input out into separate component.