Explicitly instantiate functions to avoid a link error with g++.