Allow for adding a class to input fields