Add inputs() method to load all inputs at once.