Added API Implementation for pipes