Add piece enum and function defs