add spike private constructor.