Fixes Statement API.