Added JavaDoc commentary