Fixed function call in classes
WGen class brains updated