Implemented simple guard page functionality.