Added prompt method, tests, and docs