Added pre-population of integer attributes for G argument
Fixed typo
Fixed lint error
Added pre-population of integer attributes for parents
Fixed bug where passed attributes were not being set
Changed custom attributes to always have precedence over generated values