Fixed DP4 compilation errors
Adding DP4 access control