Added smoother API.