Added deprecation warnings; more docs.