Updating usage of the Size template parameter in StaticFunction.