Added bit on ref chain and switch statements.