Fixed return type for getPlayer and wrapPlayer