Applying layout to object of certain type

It is currently not possible to apply templates: