Static messages variable removed, data stored in DB, code compiles.