Adds type signature to publish function.