Resolved compatibility with new Latte API