Add alias support.
Add trim simul_efun.
Fix parsing errors with cruft after a direction.