Changing instance() function declaration to 'public static'. Fixes Strict Standard warning.