Added ability to pass contents to Generic page