Add comments to dynamic functions