Updating deprecated element creation syntax
Merge pull request #1 from AdamChristie/element_creation_syntax

Updating deprecated element creation syntax