Updated to API level 19 where appropriate.