Added ability to add function to projectile settings.