Removed load_template function (outdated)