Added round phases implementation.