Add deep option

GitHub fixed #5