Throw Exception if we're not passed an Activity. Closes #170.