Switch to new createView API