Several pieces of legislation and parts of codes of practice all come together in that regard: the Standards in Scotland's Schools etc Act 2000, which contains a presumption of mainstream education; the recent code of practice on special educational needs; and the Disability Discrimination Act 1995.