Fixed the initialize function signature to match other libraries.