Added support for URL recognition of activities