Core functions for Swift