Added a hook for patsy.
Removed unnecessary line.
Merge pull request #87 from Zaharid/hook-patsy

Added a hook for patsy.