Remove unused accessors.

See #382.