Removed $protect (unused) and made method static