Add deprecated annotation for canPreivew as it is being replaced with properly named canPreview method.