Decrease indentation by returning early.

Change-Id: I9ab5b4dbd28c720c9d7cdd8a1642462643abe94c
Simplify.

Change-Id: If20ed2636c9b3cfbfcfe058fe027bd0cc9f8f277
No need for a template here.

Change-Id: Id56f5c394a4973b9d9464d79a2e94cda38f192de