Updated module for compatibility with persona 1.8