Make alias expansion programable