Refined template and behavior.