ENH: Changed ImportError to NotImplementedError. Incorporated other changes
suggested by @jreback.