ENH: Add api for covstruct. Clear __init__. Closes #1917.