Removing core samples