Added trait for resources