Make message view page pluggable (issue #547)