Small additions

Methods that I will be using in several other methods in the future.