Moved directory spec into lib directory.
Implemented parent method.
Updated respond_to syntax.