Fixed problem with backward compatability (unsupported methods in STL library).