Bugfix

contains and endsWith were not defined