Adding missing parts of API.