Implement full interfaces for FastDTW.