Cosmetic changes.
Add issparse import.