Add parametric types

Changes entity type syntax from :integer => integer

/cc @josevalim