Instead of configuring through initialize(), provide configuration-as-a-resource
which also allows runtime re-configuration of an installed resource.

Slightly messy, but can be cleaned up further.