Fixes: #2512 Using PHP5 style constructors for tabs classes