Remove unnecessary init code