Revert "Remove empty constructor in InputParser"

This reverts commit 8bb52ded96ae7a79fe808b6eb96af29fe5cd9d16.