Add mock endpoint.