Fix bug with inf. recursion and update documenation about wrap prototype override