Initial commit of scheme functions.