Find templates without using exceptions for flow control