Make types work in placeholder parser

This requires the parser to take an option object.
Is this TODO ?  A hint would be nice in case someone hits this and gets inspired to extend it.