Add missing '}' in code sample in docs