This will help reduce the amount of copied code and configuration when initializing the basis states.