Added trait for generic controller