Removed console logging around function constructor pathways.