Improve foundation initializer code quality and comment to make it clearer