Implemented "parents" option
Removed obsolete code
Pulling type from a source field was broken