Fix atomic ordering constraint.
Remove pre-instantiated templates.