Merged with play framework chat example correctly.