Fixed specs and added predefined mapping support.
Refactored clean_chunks method.
Merge pull request #5 from pressdoc/hotfix/fix_predefined_mappings

Fixed specs and added predefined mapping support.