Add function glue to cppia interface