Updated API comments for documentation