Just cloning some code from hermes.
Remove code related with attributes validation