Fix PinterestFactory method return type