Extract the public part