Permission review code : some API modifications for use camelCase, introduce deprecated