Remove dependency on kohana/core.