Added strlen method to object.