Remove use of getAlive when it is possible