Updating: compiling (static) template functions.
Updating: minor improvement.