Added docmentation header and made method static.