Removed temp method from Activities class.