Add preferences XML loader