Change function definition of createSubfunction.