Fix #9 -remove unnecessary attr accessors.

Fix #9 -remove unnecessary attr accessors.