Updated to use prismic API.