Added magic numbers support.