Which items of legislation did the Royal Institute play a large role in promoting?