Fix call method to work properly, using a simple template for now (plan is to use different templates for different types of code)