Encapsulate page behaviors