Added misc utilities