Treating religion as a fossil