Add basic function.