Cleanup

Use case instead of if/else.
Loop through all alias calls.