Added enum class for brick types.