Basic recording API.