Fixed warning for unused attribute