Remove function invocation at the end of files

Not calling functions at the end of files may be better since it is up to the end user to invoke a function.