Adjust twig logic to allow access through $core