Can you refactor these common parts into includes?