Change curve interface to not give index operator because reasons