Added options for auto-position and adding a class menu