Modified models.extend to add 1 more prototype layer.