Implemented additional checks for input functions in HE_Task class.