Updated API usage examples