Documenting the load_weights function.