static keyword from magic methods' docs based on config