Move to instance method and document usage