Broke out the completion handling from the Input Line.