Implemented isLoaded as a read only property.
Removed unnecessary return of self at the end of the constructor function.