Added missing $loader property