Fix deps for apache class