Bug fix wrong attribute inheritance from Block in child classes