View source
to add support for additional ghosts, just append them to the vector below, possibly at runtime: