Removed static parameter for alignment, replaced by enum.