Implemented handling of named placeholders. Closes #3.