Add support for API 14 and up