Updated Add-cmdlets to use abstract class