Added __attribute__((unused)) in order to avoid new Xcode 4.6 warning