Removed KeyPtr and ParentKeyPTr from service

Directly use Context would provide more flexibility.