Updated method name to make it compatible with java conventions.