Removed old activity code which is no longer needed.