Add support to hashes for has_role