Remove isCastable since nothing uses it now