Fixed CS and added comments about used templates