Added the add class functionality to the android.