todo: how to handle php annotation related stuff?