Revert "add setter/getter method for name"

This reverts commit c1975fe233d146dd9c1693873150051653c53064.