Allow attribute access from inside dynamic block