Some common architectural code I can reuse