Minor updates: Function/variable names. Added 'detail' name space.
Removed second template parameter from 

svn path=/sandbox/; revision=82967