Changed return type to static

This change will allow people that extends `Carbon` to have correct typehint in the IDE.