Adding public/static definitions to class methods.
adding static definition to init method