Create function DDL for Bin functions

DDL to create functions for the Bin functions added in #59.