Basic activity-alias support.

We have a few mistakenly failing tests that this patch can fix. Please take a look. Thank you.
oh nvm this was in the original code