Deprecate 'close'

Resolves #15