Fix/autopage not serve layouts

This PR removes the AutoPage handler's ability to serve layouts.