Code documentation for alignment methods