Clarify documentation, add examples