Aliases feature

relates to #653 and #335.