Boilerplate modularization