Fixing accessor methods

A tiny patch that fixes accessor methods.

1. Was referring to the wrong? variable.
2. Taken out since no code is there to support/save which api call was used. I guess this was WIP?

Thank you,

Gena01