Change FLASH_MESSAGE to class
Remove with statement
version 3.0.2-dev starts