Add spec for internalapi