Simplify magic getters in third party API classes
Merge pull request #1313 from mbabker/APIgetters

Simplify magic getters in third party API classes