Set of extension methods for doing bitwise manipulation