Changes for specialization implementation.