Attempt to assert lock ownership
Removed superfluous typenames