Method must be defined as static to not throw errors.