Added flash middleware shortcut on shack module.