Updated some documentation and adjusted function names to match WPAT prefix