Chat: Source-code syntax fixes