Added phpDoc comments