Adding bezier functions and class to toolbox.