Removed array type-check in build()