Add code samples to the Loader API reference