Use dependency type in placeholders (#337)