Add reflection for all functions