fix Issue 12286 - Can't use two alias parameters to class and subclass field
fix Issue 12230 - methods do not bind templates via alias parameter