Add constants and FFI