Added addConfiguration and updateConfiguration to the Configuration class.