Implement basic polygon support