Afterlife is meant to be a tribute to the original, and the other three original Ghostbusters were making their return, which meant that it was only natural to somehow bring Ramis in. With the help of CGI and the clever use of body doubles, Ramis' Egon was able to appear for a few brief cameos.