Core: Join some variable declarations and assignments