Code Duplication in eZContentObject