Shorten the expand class in OTP