Added equality checks for managed objects

Change-Id: Ie1a0d079d188dbdee655cddc7aed409497a43342
Signed-off-by: Rob Adams <readams@readams.net>