[cores/interfaces] Make functions static if possible.