Hopefully finalized API.