Added ability to launch arbitrary activity.