Wrap glow function to shared pointer