Tweaking alignment functions.