remove deprecated function definition
Merge pull request #7 from chris-rock/feature/getter

remove deprecated function definition