Add polygon class