Add implementation of two spectrum types.