Adding middleinput to repository.