Implemented support to message flashing. Supported categories: 'error' and 'success'.