Fix @extends pragma