Introducing block based API.