Added protections and SDK version