Added support for auto attrs types (autodetecting when strings or vars)
Deleted staticAttrs in compiler (partially)