Minor base class adjustments

Adds additional documentation as well as a stricter check on the data
payload before returning it to the web server for correctness.