Custom classes for Android usage