In the old days, funeral and cremation ceremonies were not broadly available for the poorer classes. This practice {outside the Wat walls} was perfectly acceptable within the society - most certainly if the demised had met their death through violence or disease.