Not sure if the documentation here needs updating or it's a bug, but the following work:
{}
{.aligncenter}
But the line used in the documentation does not:
