Added some more accessors to the API.