Implementation basic API.