add missing prop
remove unused use statement
[#33] fix undefined variable
[#34] fix missing prop
fix docblocs
add namespace for resource module
fix sample code
[#35] fix wrong argument