Android Studio 1.0 compatibility added.