Removed guild related code