Attempt to develop a generic catalog directive