Added SuppressLint and TargetApi annotations