Modified Pre/Post functions into using interface
Add Pre/Post functions to godoc