Removed commented code in getDefaultLoader method