This is a stupid way to access private methods.