Added ability to customize controls to API.