Various helper methods

Could you also add a new line after this line just so GitHub doesn't complain? ^_^