removed unimplemented methods for now, not sure they are needed at all
diff --git a/sql/datasketches_cpc_sketch.sql b/sql/datasketches_cpc_sketch.sql
index fa0085b..8ea82ca 100644
--- a/sql/datasketches_cpc_sketch.sql
+++ b/sql/datasketches_cpc_sketch.sql
@@ -1,6 +1,6 @@
 CREATE TYPE cpc_sketch;
 
-CREATE FUNCTION cpc_sketch_in(cstring) RETURNS cpc_sketch
+CREATE OR REPLACE FUNCTION cpc_sketch_in(cstring) RETURNS cpc_sketch
      AS '$libdir/datasketches', 'pg_sketch_in'
      LANGUAGE C STRICT IMMUTABLE;
 
@@ -8,20 +8,10 @@
      AS '$libdir/datasketches', 'pg_sketch_out'
      LANGUAGE C STRICT IMMUTABLE;
 
-CREATE OR REPLACE FUNCTION cpc_sketch_recv(internal) RETURNS cpc_sketch
-     AS '$libdir/datasketches', 'pg_cpc_sketch_recv'
-     LANGUAGE C STRICT IMMUTABLE;
-
-CREATE OR REPLACE FUNCTION cpc_sketch_send(cpc_sketch) RETURNS bytea
-     AS '$libdir/datasketches', 'pg_cpc_sketch_send'
-     LANGUAGE C STRICT IMMUTABLE;
-
 CREATE TYPE cpc_sketch (
     INPUT = cpc_sketch_in,
     OUTPUT = cpc_sketch_out,
-    STORAGE = EXTERNAL,
-    RECEIVE = cpc_sketch_recv,
-    SEND = cpc_sketch_send
+    STORAGE = EXTERNAL
 );
 
 CREATE CAST (bytea as cpc_sketch) WITHOUT FUNCTION AS ASSIGNMENT;
diff --git a/sql/datasketches_kll_float_sketch.sql b/sql/datasketches_kll_float_sketch.sql
index ccb2e07..b4c1820 100644
--- a/sql/datasketches_kll_float_sketch.sql
+++ b/sql/datasketches_kll_float_sketch.sql
@@ -1,6 +1,6 @@
 CREATE TYPE kll_float_sketch;
 
-CREATE FUNCTION kll_float_sketch_in(cstring) RETURNS kll_float_sketch
+CREATE OR REPLACE FUNCTION kll_float_sketch_in(cstring) RETURNS kll_float_sketch
      AS '$libdir/datasketches', 'pg_sketch_in'
      LANGUAGE C STRICT IMMUTABLE;
 
@@ -8,20 +8,10 @@
      AS '$libdir/datasketches', 'pg_sketch_out'
      LANGUAGE C STRICT IMMUTABLE;
 
-CREATE OR REPLACE FUNCTION kll_float_sketch_recv(internal) RETURNS kll_float_sketch
-     AS '$libdir/datasketches', 'pg_kll_float_sketch_recv'
-     LANGUAGE C STRICT IMMUTABLE;
-
-CREATE OR REPLACE FUNCTION kll_float_sketch_send(kll_float_sketch) RETURNS bytea
-     AS '$libdir/datasketches', 'pg_kll_float_sketch_send'
-     LANGUAGE C STRICT IMMUTABLE;
-
 CREATE TYPE kll_float_sketch (
     INPUT = kll_float_sketch_in,
     OUTPUT = kll_float_sketch_out,
-    STORAGE = EXTERNAL,
-    RECEIVE = kll_float_sketch_recv,
-    SEND = kll_float_sketch_send
+    STORAGE = EXTERNAL
 );
 
 CREATE CAST (bytea as kll_float_sketch) WITHOUT FUNCTION AS ASSIGNMENT;
diff --git a/src/cpc_sketch_pg_functions.c b/src/cpc_sketch_pg_functions.c
index f6eedd9..1295d52 100644
--- a/src/cpc_sketch_pg_functions.c
+++ b/src/cpc_sketch_pg_functions.c
@@ -14,8 +14,6 @@
 const unsigned DEFAULT_LG_K = 12;
 
 /* PG_FUNCTION_INFO_V1 macro to pass functions to postgres */
-PG_FUNCTION_INFO_V1(pg_cpc_sketch_recv);
-PG_FUNCTION_INFO_V1(pg_cpc_sketch_send);
 PG_FUNCTION_INFO_V1(pg_cpc_sketch_add_item);
 PG_FUNCTION_INFO_V1(pg_cpc_sketch_get_estimate);
 PG_FUNCTION_INFO_V1(pg_cpc_sketch_to_string);
@@ -35,20 +33,6 @@
 Datum pg_cpc_sketch_get_estimate_from_internal(PG_FUNCTION_ARGS);
 Datum pg_cpc_union_get_result(PG_FUNCTION_ARGS);
 
-// external binary to type
-Datum pg_cpc_sketch_recv(PG_FUNCTION_ARGS) {
-  // not invoked for nulls
-  elog(FATAL, "pg_cpc_sketch_recv is not implemented yet");
-  PG_RETURN_NULL();
-}
-
-// type to external binary
-Datum pg_cpc_sketch_send(PG_FUNCTION_ARGS) {
-  // not invoked for nulls
-  elog(FATAL, "pg_cpc_sketch_send is not implemented yet");
-  PG_RETURN_BYTEA_P(0);
-}
-
 Datum pg_cpc_sketch_add_item(PG_FUNCTION_ARGS) {
   void* sketchptr;
   int lg_k;
diff --git a/src/kll_float_sketch_pg_functions.c b/src/kll_float_sketch_pg_functions.c
index 2140768..b46725f 100644
--- a/src/kll_float_sketch_pg_functions.c
+++ b/src/kll_float_sketch_pg_functions.c
@@ -12,8 +12,6 @@
 #include "base64.h"
 
 /* PG_FUNCTION_INFO_V1 macro to pass functions to postgres */
-PG_FUNCTION_INFO_V1(pg_kll_float_sketch_recv);
-PG_FUNCTION_INFO_V1(pg_kll_float_sketch_send);
 PG_FUNCTION_INFO_V1(pg_kll_float_sketch_add_item);
 PG_FUNCTION_INFO_V1(pg_kll_float_sketch_get_rank);
 PG_FUNCTION_INFO_V1(pg_kll_float_sketch_get_quantile);
@@ -33,20 +31,6 @@
 
 static const unsigned DEFAULT_K = 200;
 
-// external binary to type
-Datum pg_kll_float_sketch_recv(PG_FUNCTION_ARGS) {
-  // not invoked for nulls
-  elog(FATAL, "pg_kll_float_sketch_recv is not implemented yet");
-  PG_RETURN_NULL();
-}
-
-// type to external binary
-Datum pg_kll_float_sketch_send(PG_FUNCTION_ARGS) {
-  // not invoked for nulls
-  elog(FATAL, "pg_kll_float_sketch_send is not implemented yet");
-  PG_RETURN_BYTEA_P(0);
-}
-
 Datum pg_kll_float_sketch_add_item(PG_FUNCTION_ARGS) {
   void* sketchptr;
   float value;