Comments on the afterLoad function