Add object-based element creation