Add add functionality.