Make mappings configurable
Add linewise mapping
Add documentation