Added a couple Extension methods