Adding template methods.