Move static src method out of prototype