Established alias pipeline. Fixed memory leaks.