Fixed "Call to undefined method Prontotype\Service\Pages::getPage()" when calling pages.current from a layout template (and possibly elsewhere).