Replaced nullptr's with empty functions