Add check for new methods in 5.4