Move some common input stuff around.