Moving function type functions into a new file