Merge Input class