Added argument allowNull on append() method.