Add config to EndAlignment

Fixes #661.