Added performance warning in docblock and changed return type to null/string