refactor to jalview.api methods