Replace public usage of Piece map arrays with functions