Remove extra closing bracket.

Fixes #1047