ensure garbage collection methods return a boolean