Set up partial view functionality.