Basic extension template code.