Added special case for function, class and intf assignment