Refactored TFunc into a class