Setting void wrapper as return types mismatch in existing code