Updated for new CFFI where struct types must be refereced as (:struct <type>) instead of just <type>.