Implement alignment.