Move adding the Safe extension to after the configuration is complete so that user configuration of the extensions array can't remove it.