Making pages plugin to work. Tested.